#!/usr/bin/env python
# -*- coding: utf-8 -*-
# title       :
# author      : jarry

import sys
import os
import logging
from SceneCheckTool.checkScript.CheckBase import CheckBase

try:
    import maya.cmds as cmds
    # import pymel.core as pm
    # import jarryLibs.mayakit.MayaUtils as mu
    # reload(mu)
    import JTK.jmaya.core as jmc
except:
    pass

logging.basicConfig()
log = logging.getLogger(__name__)
log.setLevel(logging.DEBUG)


class PivotsOriginPoint(CheckBase):
    def __init__(self):
        super(PivotsOriginPoint, self).__init__()
        pass

    def check(self):
        result_proc = jmc.check_mod_rule_matrix()
        if result_proc:
            result_log = u'Error:%s\n' % result_proc
        else:
            result_log = u'Succeed:没有问题\n'

        return result_log

    def fix(self):
        pass

